package com.bishe.bishe.Service;

import com.bishe.bishe.pojo.Advertisements;
import com.bishe.bishe.pojo.Orders;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface OrderService {
    public PageInfo<Orders> findall(int page, int size);
    public PageInfo<Orders> findPage(Map<String,Object> searchMap, int page, int size,String stateName);/*分页查询+模糊查询*/
    public int update(Orders orders);
    public PageInfo<Orders> findstate(String stateName, int page, int size);
    public int delete(Orders orders);
    public List<Orders> findstate(String stateName);
    public Orders findById(Orders orders);
    public List<Orders> findByCheck(String number,int orderIdentify);
    int updateAdvertisement(String advertisement);
    List<Advertisements> selectAdvert();
    List<Orders> findByWx(String customerNumber);
    int insert(Orders orders);
    int indexinsert(Orders orders);
    int findexpress();
    Orders findByIdcheckId(Long orderId,int checkId);
    List<Orders> count();
}
